//
//  PullLayout.h
//  瀑布流封装
//
//  Created by 常宽 on 14/11/1.
//  Copyright (c) 2014年 常宽. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol PullLayoutDelegate <UICollectionViewDelegateFlowLayout>

-(CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath;

@end

@interface PullLayout : UICollectionViewFlowLayout

{
    NSMutableArray *_attributesArrayOfCollectionView;
}

@property(nonatomic, assign) id <PullLayoutDelegate> delegate;

@end
